package cn.kimming.mapper;

import cn.kimming.common.pojo.RoomType;
import cn.kimming.common.vo.DefaultPriceVO;
import com.alibaba.fastjson.JSONObject;

import java.util.List;

public interface RoomTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(RoomType record);

    RoomType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RoomType record);

    List<RoomType> findAll();

    RoomType findById(Long id);

    List<RoomType> findOptions();

    List<DefaultPriceVO> listDefaultPrice();

    List<Long> findAllIds();

    List<JSONObject> find4Filter();

    List<JSONObject> getMonthTypeLiveRate();
}